/** 公共路由 */
const commonRouter = [
	{
		path: '/',
		redirect: '/seal',
		meta: {
			// anonymous: true
		}
	},
	{
		// TODO 签章操作
		path: '/seal',
		name: 'test-seal',
		component: () =>
			import(/* webpackChunkName: "commonRouter" */ `@/views/OnlineSeal.vue`),
		props: (route) => ({ id: route.query.id, type: route.query.type }),
		meta: {
			// anonymous: true
		}
	},
	{
		path: '/login',
		name: 'Login',
		component: () => import('../views/Login.vue'),
		meta: {
			title: '身份验证',
			anonymous: true
		}
	}
	// {
	// 	path: '/manu',
	// 	name: 'Manu',
	// 	component: Manu,
	// 	meta: {
	// 		title: '签章文件上传',
	// 		tabbar: true
	// 	}
	// }
]
export { commonRouter }
